#include<string.h>

void opencapture();
int qrdetection();
int facedetect();
int facedemo();
int smiledetect();
int dbt_face_detection();
int face_beautification();
int SURF_matching_Demo();
int readcar(const char*filename);
int testreadcar(const char*filename);
int imageSegmentation();
int main( int argc,const char** argv ){
	if(argc==2||argc==3){
		const char*filename=NULL;
		if(argc==3){
			filename=argv[2];
		}
		if(strcmp(argv[1],"opencapture")==0){
			opencapture();
		}
		if(strcmp(argv[1],"facedetect")==0){
			facedetect();
		}
		if(strcmp(argv[1],"facedemo")==0){
			facedemo();
		}
		if(strcmp(argv[1],"smiledetect")==0){
			smiledetect();
		}
		if(strcmp(argv[1],"dbt_face_detection")==0){
			dbt_face_detection();
		}
		if(strcmp(argv[1],"qrdetection")==0){
			qrdetection();
		}
		if(strcmp(argv[1],"face_beautification")==0){
			face_beautification();
		}
		if(strcmp(argv[1],"SURF_matching_Demo")==0){
			SURF_matching_Demo();
		}
		if(strcmp(argv[1],"imageSegmentation")==0){
			imageSegmentation();
		}
		if(strcmp(argv[1],"testreadcar")==0){
			testreadcar(filename);
		}
		if(strcmp(argv[1],"readcar")==0){
			readcar(filename);
		}
	}
    return 0;
}


